package com.hotelvip.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hotelvip.entity.BasePojo;
import com.hotelvip.vo.UserVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author ypb
 */
@Data
@ApiModel(value = "用户的vip卡信息",description = "客户的vip卡的信息")
@Accessors(chain = true)
public class VipCardDTO extends BasePojo {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "会员套餐id",name = "id")
    private Long id;
    @ApiModelProperty(value = "会员套餐名称",name = "vipName")
    private String vipName;
    @ApiModelProperty(value = "发行人",name = "issuer")
    private String issuer;
    @ApiModelProperty(value = "发行商",name = "pub")
    private String pub;
    @ApiModelProperty(value = "会员卡类型",name = "vipType")
    private String vipType;
    @ApiModelProperty(value = " 状态CardStatueEnum",name = "status")
    private Integer status;
    @ApiModelProperty(value = "发行时间",name = "upload")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date upload;
    @ApiModelProperty(value = "时效(时间戳)",name = "dueTime")
    private Integer dueTime;
    @ApiModelProperty(value = "时间类型",name = "timeType")
    private Integer timeType;
    @ApiModelProperty(value = "返现金额",name = "rMoney;")
    private String rMoney;
    @ApiModelProperty(value = "是否返现FlagEnum枚举1是，0否",name = "rmFlag")
    private Integer rmFlag;
    @ApiModelProperty(value = "是否转让FlagEnum枚举1是，0否",name = "rcFlag")
    private Integer rcFlag;
    @ApiModelProperty(value = "备注",name = "comment")
    private String comment;
    @ApiModelProperty(value ="用户对象",name ="userVo")
    private UserVo userVo;

}
